
import request from "../../utils/request";

//订单列表
export function orderList(params = {}) {
  return request({
    url: "api/v1/order-list",
    method: "get",
    params: params,
  });
}
//删除或者取消
export function cancelAndOrder(params = {}) {
  return request({
    url: "api/v1/cancel-and-order",
    method: "post",
    data: params,
  });
}

//申请发票
export function applyInvoice(params = {}) {
  return request({
    url: "api/v1/apply-invoice",
    method: "post",
    data: params,
  });
}



